import request from '@/utils/request'

// 查询我的收藏  -留学申请列表
export function listCollectmentor(query) {
  return request({
    url: '/member/collectmentor/list',
    method: 'get',
    params: query
  })
}

// 查询我的收藏  -留学申请详细
export function getCollectmentor(id) {
  return request({
    url: '/member/collectmentor/' + id,
    method: 'get'
  })
}

// 新增我的收藏  -留学申请
export function addCollectmentor(data) {
  return request({
    url: '/member/collectmentor',
    method: 'post',
    data: data
  })
}

// 修改我的收藏  -留学申请
export function updateCollectmentor(data) {
  return request({
    url: '/member/collectmentor',
    method: 'put',
    data: data
  })
}

// 删除我的收藏  -留学申请
export function delCollectmentor(id) {
  return request({
    url: '/member/collectmentor/' + id,
    method: 'delete'
  })
}

// 导出我的收藏  -留学申请
export function exportCollectmentor(query) {
  return request({
    url: '/member/collectmentor/export',
    method: 'get',
    params: query
  })
}